package service.impl;

import dao.ShiyanDao;
import entity.Shiyan;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import service.DatailsService;
import service.ShiyanService;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service("shiyanService")

public class Shiyanimpl implements ShiyanService {


    @Resource(name = "shiyanDao")
    private ShiyanDao shiyanDao;


    @Override
    public List<Shiyan> Shiyan() {
        return shiyanDao.Shiyan();
    }

    @Override
    public List<Shiyan> Qshiyans() {
        return shiyanDao.Qshiyans();
    }
}
